<?

class AGGadget
{
  function invoke($gadget)
  {
    $gfilename = 'gadgets/'.$gadget.'.php';
    if (file_exists($gfilename))
      include($gfilename);
    else
      logError('AGGadget::invoke() gadget file not found: "'.$gfilename.'"');
  }
}

?>
